#include <glib.h>

int main (int argc, char** argv)
{
    g_print("a* %s abc \n", g_regex_match_simple("a*", "abc", 0, 0)?"match":"not match");
    g_print("[a-z]+ %s abc \n", g_regex_match_simple("[a-z]+", "abc", 0, 0)?"match":"not match");
    g_print("[a-z]+ %s ABC \n", g_regex_match_simple("[a-z]+", "ABC", 0, 0)?"match":"not match");

    return 0;
}
